<?php
include_once dirname(__FILE__).'/db/DBNavigator.php';

class navigator implements UserModul{
    
    private $daten;
    
	public function __construct($design = NULL){
	    $this->daten = $design;		
	}
    public function Main(){		        
        $this->daten->design->assign("modul",DBNavigator::getLinks($this->daten->User_Id));
	}
    public function Widget(){
		return DBNavigator::getNavi($this->daten->User_Id,$this->daten->getpage);
	}
	public function getRequest($design, $page){
	    print_r($this->daten->PageUser);
	    exit;
	}
	public function getPaginator($userid){
	    
    }
    public function getSetting(){
    }
    public function getDbSetting(){
    }
    public function updateDbSetting($user_id,$value){
    }
    public function setSetting(){
            $value = array();
            $value['name'] = "Roadmap";	  
            $value['slogen'] = "Alle Seiten auf einen Blick!";
            $value['titel'] = "Mein Seiten";
            $value['url'] = "roadmap.html";	  
            $value['aktiv'] = 0;	
            $value['zugriff'] = 0;		
            $value['navi'] = 1;	        
            $value['navi_posi'] = 1;
            $value['main_flag'] = 0;

            return $value;
    }
}
?>